//-------------------------------模型文件--------------------------------

//信件
class Album {
  final String send;
  final String form;
  final String message;
  final String time;
  final String id;

  Album({this.send, this.form, this.message,this.time,this.id});

  factory Album.fromJson(Map<String, dynamic> json) {
    return Album(
      send: json['send'],
      form: json['form'],
      message: json['message'],
      time: json['time'],
      id: json['id'],
    );
  }
}

//登陆
class Login{
  final String flag;
  final String value;
  final String token;

  Login({this.flag,this.value,this.token});

  factory Login.fromJson(Map<String, dynamic> json){
    return Login(
      flag: json['flag'],
      value: json['value'],
      token: json['form'],
    );
  }
}
